home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-07-24 | 438 b | 23 lines | [TEXT/MPS ] |
- ;
- ; Glue for SysEnvirons that was skipped by Apple
- ; F. Alviani
- ; 7/88
- ;
-
- INCLUDE 'TRAPS.A' ;Include Memory manager macros.
- PRINT ON
-
- SYSENVIRONS FUNC EXPORT
- movea.l 4(sp),a0 ;a0 contains ptr to world record
- move.w 8(sp),d0 ;d0 contains desired version
- _SysEnvirons
- movea.l (sp)+,a0 ;get return addr, remove
- lea 6(sp),sp ;pop parameters
- move d0,(sp) ;put result in place
- jmp (a0) ;go home
-
- DC.B 'SYSENVIR'
-
- END
-
-